package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * 租赁物品详情表实体类DTO
 * @Author lililiang
 * @Date 2018-12-23 10:10:30
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("租赁物品详情表实体类DTO")
public class LeaseResDetailDTO {

	@ApiModelProperty(value = "详情id", required = false)
	private String did;
	@ApiModelProperty(value = "租赁品详情编号", required = false)
	private String code;
	@ApiModelProperty(value = "租赁品id", required = false)
	private String lid;
	@ApiModelProperty(value = "租赁品名称", required = false)
	private String rname;
	@ApiModelProperty(value = "租赁品描述", required = false)
	private String content;
	@ApiModelProperty(value = "租赁品图片", required = false)
	private String pic;
	@ApiModelProperty(value = "租赁物品库存装填，0 下架  1 可用  -1 删除  2 在租", required = false)
	private Integer status;
	@ApiModelProperty(value = "需要押金", required = false)
	private BigDecimal deposit;
	@ApiModelProperty(value = "价格，每小时价格", required = false)
	private BigDecimal price;
	@ApiModelProperty(value = "点金券比例", required = false)
	private Integer couponRatio;
	@ApiModelProperty(value = "商家id", required = false)
	private String bid;
	@ApiModelProperty(value = "所属区域id", required = false)
	private String areaid;
	@ApiModelProperty(value = "商家名称，查询结果", required = false)
	private String bname;
	@ApiModelProperty(value = "商家地址，查询结果", required = false)
	private String addr;
	@ApiModelProperty(value = "所属租赁点区域名称，查询结果", required = false)
	private String areaname;
	@ApiModelProperty(value = "租赁物品状态，1 可用  0停用  -1 删除", required = false)
	private Integer rstatus;
	@ApiModelProperty(value = "评价列表", required = false)
	private List<AppraiseDTO> appraiseList;

}
